package Domain;
//用户
public class User {
    private int id;
    private String username;
    private String password;
    private String header;//头像
    private String tel;//电话号码
    private String address;//地址
    private String c_question;//找回密码问题
    private String c_answer;//找回密码问题的答案

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getHeader() {
        return header;
    }

    public void setHeader(String header) {
        this.header = header;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getC_question() {
        return c_question;
    }

    public void setC_question(String c_question) {
        this.c_question = c_question;
    }

    public String getC_answer() {
        return c_answer;
    }

    public void setC_answer(String c_answer) {
        this.c_answer = c_answer;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", header='" + header + '\'' +
                ", tel='" + tel + '\'' +
                ", address='" + address + '\'' +
                ", c_question='" + c_question + '\'' +
                ", c_answer='" + c_answer + '\'' +
                '}';
    }
}
